Skip to content
This repository has been archived by the owner on Aug 18, 2019. It is now read-only.

fix(server): Set Server.pendingSnapshot back to nil after saving a snapshot fails. #2

Closed
wants to merge 1 commit into from

Conversation

jstamerj
Copy link

When a snapshot fails to save, Sever.pendingSnapshot is not set to nil (like it is after a snapshot is successfully saved). This causes all future calls to TakeSnapshot() to fail with an error "Snapshot: Last snapshot is not finished."

Fixes etcd-io#1496

…apshot fails.

When a snapshot fails to save, Sever.pendingSnapshot is not set to nil (like it is after a snapshot is successfully saved).  This causes all future calls to TakeSnapshot() to fail with an error "Snapshot: Last snapshot is not finished."

Fixes etcd-io#1496
@jstamerj jstamerj closed this Oct 30, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant